package com.sniff.atp.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @BelongsProject: sniff-atp
 * @BelongsPackage: com.sniff.atp.dto.request
 * @Author: zxy
 * @CreateTime: 2022-11-10 18:00
 * @Description: 创建订单接口
 * @Version: 1.0
 */
@Data
public class CreateOrderDTO extends UserInfo{

    @ApiModelProperty(value = "商品数据", required = true)
    private List<OrderProductDTO> products;
    @ApiModelProperty(value = "平台类型：1 D2C; 2 B2B", required = true)
    private Integer platform;
    @ApiModelProperty(value = "订单类型：1 直发; 2 囤货", required = true)
    private Integer orderType;
    @ApiModelProperty(value = "订单操作节点：1 下单完成; 2 分单完成; 3 采购完成; 4 入库上架完成; 5 组合完成入库; 6 发货完成")
    private Integer operationNode;
    @ApiModelProperty(value = "使用库龄库存：true, false", required = true)
    private Boolean useOneTheWayInventory;
}
